import { defHttp } from '/@/utils/http/axios';

// 查询公司公告
export function noticeQueryApi(data) {
  return defHttp.post({
    url: '/v1/company/notice/query',
    data,
  });
}
// 删除公司公告
export function noticeRemoveApi(data) {
  return defHttp.post({
    url: '/v1/company/notice/remove',
    data,
  });
}

// 修改公司公告
export function noticeModifyApi(data) {
  return defHttp.post({
    url: '/v1/company/notice/modify',
    data,
  });
}

// 新增公司公告
export function noticeCreateApi(data) {
  return defHttp.post({
    url: '/v1/company/notice/create',
    data,
  });
}

// 查询全部公司公告
export function noticeAllQueryApi(data) {
  return defHttp.post({
    url: '/v1/company/notice/all/query',
    data,
  });
}

// 查询资料中心
export function getdataCenter(data) {
  return defHttp.post({
    url: '/v1/attachment/query',
    data,
  });
}
export function removeDataCenter(data) {
  return defHttp.post({
    url: '/v1/attachment/remove',
    data,
  });
}
export function modifyDataCenter(data) {
  return defHttp.post({
    url: '/v1/attachment/modify',
    data,
  });
}
export function AddDataCenter(data) {
  return defHttp.post({
    url: '/v1/attachment/create',
    data,
  });
}
